package com.wiloon.java8x.design.pattern.template;

/*
 * Created by roy on 6/19/17;
 */
public abstract class AbstractTemplate {

    public void templateMethod() {

        abstractMethod();
        hookMethod();
        concreteMethod();
    }


    protected abstract void abstractMethod();


    protected void hookMethod() {
    }


    private final void concreteMethod() {

    }
}